package bookstore.manager;

import bookstore.bound.auth.LoginForm;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface AuthManager {

    Map authCheck(HttpSession session);

    Map login(HttpSession session, LoginForm form);

    boolean requireLogin(HttpSession session);

    boolean requireAdmin(HttpSession session);
}
